package com.jia.friends.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * (Follow)实体类
 *
 * @author makejava
 * @since 2024-10-10 17:18:23
 */
@Getter
@Setter
public class Follow implements Serializable {

    private static final long serialVersionUID = 560771787590250770L;

    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 用户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    /**
     * 关联的用户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long followUserId;
    /**
     * 创建时间
     */
    private Date createTime;

}

